package com.mikeli.javacourse.lesson5.starttest;

import com.mikeli.learn.student.configuration.Student;
import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;

@Component
@ToString
@Data
public class Klass {
    Student student;
    private String klassName;
    public Klass(Student student) {
        this.student=student;
        System.out.println(student);
    }
}
